<?php
if (isset($_POST['openid']) && !empty($_POST['openid'])){
    include '../c/config.php';
    $mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
    if (!$mysqli->set_charset("utf8")) {}
    $openid=addslashes(trim($_POST['openid']));
    $id=addslashes(trim($_POST['id']));
    $mysqli->query("delete from joinqiu where id='".$id."' ");
    $mysqli->close();
    echo json_encode(array('s'=>'y'));
}

